package com.example.POJO;


/**
 * TODO 账号类
 */



public class Account {

    /**
     * TODO 用户id,主键
     * 注册时后端自动生成
     */
    private Integer id;
    /**
     * TODO 用户手机号
     */
    private String phone;

    /**
     * TODO 用户密码
     */
    private String password;

    public Account() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
